package com.ruoyi.laiqianba.enums;

public enum SseEventType {
    MERCHANT_PUSH_FAILED("MERCHANT_PUSH_FAILED", "商户推送失败"),
    MERCHANT_PUSH_SUCCESS("MERCHANT_PUSH_SUCCESS", "商户推送成功"),
    SYSTEM_NOTIFICATION("SYSTEM_NOTIFICATION", "系统通知");

    private final String code;
    private final String desc;

    SseEventType(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}